]> dgit.raspbian.org Git - gnome-shell.git/commit
perf: add a ShellGlobal property to call glFinish and log the time
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 16 Jul 2014 14:05:02 +0000 (10:05 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 16 Jul 2014 14:37:48 +0000 (10:37 -0400)
commit9fff9729465e95b2eb1a987f69c915d68bfe0c4e
tree55084716edc55f07150577b30b311de9370b5f76
parente30925995f249fe94e2e9dac090efaec9d3a540e
perf: add a ShellGlobal property to call glFinish and log the time

It's useful to know how long frames are taking to render on the GPU.
This is impossible to measure in the normal case because frames may
parallelize with previous frames, but by calling glFinish() at the
end of the frame, we can create a (somewhat artificial, but useful)
environment where we have a meaningful timestamp for the frame
finishing drawing.

https://bugzilla.gnome.org/show_bug.cgi?id=732350
src/shell-global.c